package com.lpy.trans.service;


import com.lpy.trans.mapper.UserInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

@Service
public class UserService {
    @Resource
    private UserInfoMapper userInfoMapper;

    @Transactional
    public Integer insertUser(String userName, String passWord) {

        return userInfoMapper.insertUser(userName, passWord);

    }

}
